import {createRouter,createMemoryHistory,createWebHistory } from "vue-router"

import Home from "../cmponent/Home"
import Page from "../page/pageone"
import Page2 from "../page/pagetwo"
import Page3 from "../page/pagethree"
import Page4 from "../page/pagefour"


import Page5 from "../page/pagefive"

// import Login from "../Login/login"

const routes =[
    {
        path:'/',
        redirect:'/pagefive'
    },
    {
        name:'home',
        path:'/home',
        component:Home,
        
        
    },
    {
        name:'/pageone',
        path:'/pageone',
        component:Page
    },
    {
        name:'/pagetwo',
        path:'/pagetwo',
        component:Page2
    },
    {
        name:'/pagethree',
        path:'/pagethree',
        component:Page3
    },
    {
        name:'/pagefour',
        path:'/pagefour',
        component:Page4,
        
    },
    {
        name:'/pagefive',
        path:'/pagefive',
        component:Page5
    },
    
]


const router = createRouter({
    history: createWebHistory(), 
    routes
})



export default router
